import config from "@/config"
import http from "@/utils/request"

export default {
	bpmTransfer:{
		insertBpmTransferConfig:{
			url: `${config.API_URL}/set/bpm/insertBpmTransferConfig`,
			name: "创建公文传输规则",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
		deleteBpmTransferConfig:{
			url: `${config.API_URL}/set/bpm/deleteBpmTransferConfig`,
			name: "删除公文传输规则",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
		deleteBpmTransferConfigByIds:{
			url: `${config.API_URL}/set/bpm/deleteBpmTransferConfigByIds`,
			name: "批量删除公文传输规则",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
		updateBpmTransferConfig:{
			url: `${config.API_URL}/set/bpm/updateBpmTransferConfig`,
			name: "更新公文传输规则",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
		getBpmTransferConfigForManage:{
			url: `${config.API_URL}/get/bpm/getBpmTransferConfigForManage`,
			name: "获取收发文传输配置列表",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		getBpmIssueRecordList:{
			url: `${config.API_URL}/get/bpm/getBpmIssueRecordList`,
			name: "获取下发公文列表",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		getBpmSubmitRecordList:{
			url: `${config.API_URL}/get/bpm/getBpmSubmitRecordList`,
			name: "获取上呈公文",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		getBpmReceiveRecordList:{
			url: `${config.API_URL}/get/bpm/getBpmReceiveRecordList`,
			name: "获取公文接收列表",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		insertBpmTransferRecord:{
			url: `${config.API_URL}/set/bpm/insertBpmTransferRecord`,
			name: "创建公文传输记录",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
		sendBpmTransferRecord:{
			url: `${config.API_URL}/set/bpm/sendBpmTransferRecord`,
			name: "创建公文传输记录",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
		deleteBpmTransferRecord:{
			url: `${config.API_URL}/set/bpm/deleteBpmTransferRecord`,
			name: "删除公文传输记录",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
		deleteBpmTransferRecordByIds:{
			url: `${config.API_URL}/set/bpm/deleteBpmTransferRecordByIds`,
			name: "批量删除公文传输记录",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
		updateBpmTransferRecord:{
			url: `${config.API_URL}/set/bpm/updateBpmTransferRecord`,
			name: "更新公文传输记录",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
	},
	bpmNumber:{
		insertBpmNumber:{
			url: `${config.API_URL}/set/bpm/insertBpmNumber`,
			name: "创建公文文号规则",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
		deleteBpmNumber:{
			url: `${config.API_URL}/set/bpm/deleteBpmNumber`,
			name: "删除公文文号",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
		deleteBpmNumberByIds:{
			url: `${config.API_URL}/set/bpm/deleteBpmNumberByIds`,
			name: "批量删除公文文号规则",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
		updateBpmNumber:{
			url: `${config.API_URL}/set/bpm/updateBpmNumber`,
			name: "更新公文文号规则",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
		getBpmNumberListForManage:{
			url: `${config.API_URL}/get/bpm/getBpmNumberListForManage`,
			name: "获取公文文号规则",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		getBpmNumberList:{
			url: `${config.API_URL}/get/bpm/getBpmNumberList`,
			name: "获取公文文号规则",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		}
	},
	bpmStepPreset:{
		setBpmStepPreset:{
			url: `${config.API_URL}/set/bpm/setBpmStepPreset`,
			name: "创建预设步骤列表",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
		nextBpmStepPreset:{
			url: `${config.API_URL}/set/bpm/nextBpmStepPreset`,
			name: "预设步骤下一步处理",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {'Content-Type': 'multipart/form-data'}});
			}
		},
	},
	bpmLinkUser:{
		setBpmLinkUserByBpm:{
			url: `${config.API_URL}/set/bpm/setBpmLinkUserByBpm`,
			name: "人员顺序流程创建",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
		nextBpmLinkBpm:{
			url: `${config.API_URL}/set/bpm/nextBpmLinkBpm`,
			name: "人员顺序流程处理",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
	},
	bpmChildStep:{
		setBpmChildStep:{
			url: `${config.API_URL}/set/bpm/setBpmChildStep`,
			name: "设置子流程步骤",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
		getBpmChildStep:{
			url: `${config.API_URL}/get/bpm/getBpmChildStep`,
			name: "获取子流程配置信息",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		}
	},
	bpmReport:{
		getBpmReportData:{
			url: `${config.API_URL}/get/bpm/getBpmReportData`,
			name: "按条件查询报表",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		getBiFormDataToFile: {
			url: `${config.API_URL}/get/bpm/getBiFormDataToFile`,
			name: "导出BI查询结果文件",
			fileDownload: async function (data) {
				return await http.fileDownload(this.url, data,{
					headers: {}
				})
			}
		},
		getBpmReportById:{
			url: `${config.API_URL}/get/bpm/getBpmReportById`,
			name: "获取BPM报表模版详情",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		getBpmReportListByRole:{
			url: `${config.API_URL}/get/bpm/getBpmReportListByRole`,
			name: "获取权限内的BPM数据报表",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		getAllBpmReportList:{
			url: `${config.API_URL}/get/bpm/getAllBpmReportList`,
			name: "获取BPM数据报表设置列表",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		insertBpmReport:{
			url: `${config.API_URL}/set/bpm/insertBpmReport`,
			name: "生成流程报表",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
		deleteBpmReport:{
			url: `${config.API_URL}/set/bpm/deleteBpmReport`,
			name: "删除流程报表",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
		updateBpmReport:{
			url: `${config.API_URL}/set/bpm/updateBpmReport`,
			name: "吏新流程报表",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
	},
	bpmFormVersion:{
		getBpmFormJsonByVersionId:{
			url: `${config.API_URL}/get/bpm/getBpmFormJsonByVersionId`,
			name: "通过VersionId获取表单历史版本",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		getBpmFormVersionList: {
			url: `${config.API_URL}/get/bpm/getBpmFormVersionList`,
			name: "获取BPM表单版本列表",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		setBpmFormVersion:{
			url: `${config.API_URL}/set/bpm/setBpmFormVersion`,
			name: "生成表单版本",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
		deleteBpmFormVersion:{
			url: `${config.API_URL}/set/bpm/deleteBpmFormVersion`,
			name: "表单版本删除",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
		deleteBpmFormVersionByIds:{
			url: `${config.API_URL}/set/bpm/deleteBpmFormVersionByIds`,
			name: "批量删除表单版本",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
		recoveryBpmFormVersion:{
			url: `${config.API_URL}/set/bpm/recoveryBpmFormVersion`,
			name: "恢复表单",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
	},
	bpmCommIdea: {
		getBpmCommIdeaList: {
			url: `${config.API_URL}/get/bpm/getBpmCommIdeaList`,
			name: "获取个人常用审批意见列表",
			get: async function () {
				return await http.get(this.url);
			}
		},
		getAllBpmCommIdeaList:{
			url: `${config.API_URL}/get/bpm/getAllBpmCommIdeaList`,
			name: "获取个人所有会签意见",
			get: async function () {
				return await http.get(this.url);
			}
		},
		update:{
			url: `${config.API_URL}/set/bpm/updateBpmCommIdea`,
			name: "更新个人会签意见",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		insert:{
			url: `${config.API_URL}/set/bpm/insertBpmCommIdea`,
			name: "创建个人会签意见",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		delete:{
			url: `${config.API_URL}/set/bpm/deleteBpmCommIdea`,
			name: "删除个人会签意见",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		}
	},
	bpmFormData: {
		getFromDataForWord: {
			url: `${config.API_URL}/get/bpm/getFromDataForWord`,
			name: "BPM表单成生WORD",
			fileDownload: async function (data) {
				return await http.fileDownload(this.url, data,{
					headers: {}
				})
			}
		},
		getAllFromDataForWord: {
			url: `${config.API_URL}/get/bpm/getAllFromDataForWord`,
			name: "下载流程详情Word",
			fileDownload: async function (data) {
				return await http.fileDownload(this.url, data,{
					headers: {}
				})
			}
		},
		getFromDataForPdf: {
			url: `${config.API_URL}/get/bpm/getFromDataForPdf`,
			name: "流程表单转成Pdf",
			fileDownload: async function (data) {
				return await http.fileDownload(this.url, data,{
					headers: {}
				})
			}
		},
		getFromDataForHtml:{
			url: `${config.API_URL}/get/bpm/getFromDataForHtml`,
			name: "BPM表单成生HTML",
			fileDownload: async function (data) {
				return await http.fileDownload(this.url, data,{
					headers: {}
				})
			}
		},
		searchBpmListByAdv:{
			url: `${config.API_URL}/get/bpm/searchBpmListByAdv`,
			name: "查询工作流列表",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		createBpmFormData: {
			url: `${config.API_URL}/set/bpm/createBpmFormData`,
			name: "始初化保存表单数据",
			post: async function (data) {
				return await http.bigPost(this.url, data, {headers: {'Content-Type': 'multipart/form-data'}})
			}
		},
		createBpmByTransferRule:{
			url: `${config.API_URL}/set/bpm/createBpmByTransferRule`,
			name: "公文传输接收",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		saveBpmFormDataChildTableData:{
			url: `${config.API_URL}/set/bpm/saveBpmFormDataChildTableData`,
			name: "更新子表数据",
			post: async function (data) {
				return await http.bigPost(this.url, data, {headers: {'Content-Type': 'multipart/form-data'}
				});
			}
		},
		saveBpmFormData: {
			url: `${config.API_URL}/set/bpm/saveBpmFormData`,
			name: "始初化保存表单数据",
			post: async function (data) {
				return await http.bigPost(this.url, data, {headers: {'Content-Type': 'multipart/form-data'}
				});
			}
		},
		queryExportBpmListExcel: {
			url: `${config.API_URL}/get/bpm/queryExportBpmListExcel`,
			name: "导出流程高级查询结果",
			fileDownload: async function (data) {
				return await http.fileDownload(this.url, data,{
					headers: {}
				})
			}
		},
		getFormDataForBpmImport:{
			url: `${config.API_URL}/get/bpm/getFormDataForBpmImport`,
			name: "获取指定流程指定设计步骤数据",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		}
	},
	bpmList: {
		getMyBpmListTotal:{
			url: `${config.API_URL}/get/bpm/getMyBpmListTotal`,
			name: "获取个人流程总数",
			get: async function () {
				return await http.get(this.url);
			}
		},
		getBpmById:{
			url: `${config.API_URL}/get/bpm/getBpmById`,
			name: "获取流程信息",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		getBpmListForSelect:{
			url: `${config.API_URL}/get/bpm/getBpmListForSelect`,
			name: "获取BPM关联选择的流程列表",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getBpmListByFlowIdForSelect:{
			url: `${config.API_URL}/get/bpm/getBpmListByFlowIdForSelect`,
			name: "按flowId获取流程列表",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		updateBpmList:{
			url: `${config.API_URL}/set/bpm/updateBpmList`,
			name: "更新流程信息",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		setBpmFollow:{
			url: `${config.API_URL}/set/bpm/setBpmFollow`,
			name: "更新关注",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		cancelBpmFollow:{
			url: `${config.API_URL}/set/bpm/cancelBpmFollow`,
			name: "取消关注",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		getCanToDoWork:{
			url: `${config.API_URL}/get/bpm/getCanToDoWork`,
			name: "判断当前步骤是不是可以办理",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getDraftsBpmFlowList:{
			url: `${config.API_URL}/get/bpm/getDraftsBpmFlowList`,
			name: "获取流程草稿记录列表",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getBpmFlowProcessList: {
			url: `${config.API_URL}/get/bpm/getBpmFlowProcessList`,
			name: "获取过程中流程列表",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getMyFollowBpmFlowList: {
			url: `${config.API_URL}/get/bpm/getMyFollowBpmFlowList`,
			name: "获取我关注的流程列表",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		searchBpmList: {
			url: `${config.API_URL}/get/bpm/searchBpmList`,
			name: "获取流程查询列表",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getBpmFlowForMonitor: {
			url: `${config.API_URL}/get/bpm/getBpmFlowForMonitor`,
			name: "获取流程监控列表",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getBpmFlowListForManage:
			{
				url: `${config.API_URL}/get/bpm/getBpmFlowListForManage`,
				name: "获取流程维护列表",
				get: async function (params) {
					return await http.get(this.url, params);
				}
			},
		deleteLogicBpm:{
			url: `${config.API_URL}/set/bpm/deleteLogicBpm`,
			name: "逻辑删除流程",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		deleteLogicBpmByIds:{
			url: `${config.API_URL}/set/bpm/deleteLogicBpmByIds`,
			name: "批量逻辑删除流程",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		deleteBpmList:{
			url: `${config.API_URL}/set/bpm/deleteBpmList`,
			name: "管理员逻辑删除BPM流程",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		setBpmRecovery:{
			url: `${config.API_URL}/set/bpm/setBpmRecovery`,
			name: "重新开启结束流程",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		recoveryBpm:{
			url: `${config.API_URL}/set/bpm/recoveryBpm`,
			name: "流程恢复",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		searchBpmListForMobile:{
			url: `${config.API_URL}/get/bpm/searchBpmListForMobile`,
			name: "移动端流程查询",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		doNotPassEndBpm:{
			url: `${config.API_URL}/set/bpm/doNotPassEndBpm`,
			name: "流程恢复",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		}
	},
	bpmDelegate: {
		getMyBpmDelegateList: {
			url: `${config.API_URL}/get/bpm/getMyBpmDelegateList`,
			name: "获取过程中流程列表",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		insertBpmDelegate: {
			url: `${config.API_URL}/set/bpm/insertBpmDelegate`,
			name: "创建流程委托",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		deleteBpmDelegate: {
			url: `${config.API_URL}/set/bpm/deleteBpmDelegate`,
			name: "删除流程委托",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		updateBpmDelegate: {
			url: `${config.API_URL}/set/bpm/updateBpmDelegate`,
			name: "修改流程委托",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		getDelegateUserList:{
			url: `${config.API_URL}/get/bpm/getDelegateUserList`,
			name: "获取代理人列表",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getBpmDelegateById:{
			url: `${config.API_URL}/get/bpm/getBpmDelegateById`,
			name: "获取工作流委托记录详情",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		}
	},
	bpmFlow: {
		getBpmFlowXmlFile:{
			url: `${config.API_URL}/get/bpm/getBpmFlowXmlFile`,
			name: "导出FORM表单文件",
			fileDownload: async function (data) {
				return await http.fileDownload(this.url, data,{
					headers: {}
				})
			}
		},
		importBpmFlowXml:{
			url: `${config.API_URL}/set/bpm/importBpmFlowXml`,
			name: "导入流程配置文件",
			post: async function (data, config = {}) {
				return await http.postFile(this.url, data, config);
			}
		},
		clearBpmFlowByFlowId:{
			url: `${config.API_URL}/set/bpm/clearBpmFlowByFlowId`,
			name: "初始化BPM流程",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		cloneBpmFlowById:{
			url: `${config.API_URL}/set/bpm/cloneBpmFlowById`,
			name: "流程克隆",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		getDocNumByBpmFlow: {
			url: `${config.API_URL}/get/bpm/getDocNumByBpmFlow`,
			name: "获取流程标题",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getBpmFlowListBySortId: {
			url: `${config.API_URL}/get/bpm/getBpmFlowListBySortId`,
			name: "获取流程列表",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getMyCommonBpmFlowList: {
			url: `${config.API_URL}/get/bpm/getMyCommonBpmFlowList`,
			name: "获取个人常用的流程列表",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		getMyBpmFlowList: {
			url: `${config.API_URL}/get/bpm/getMyBpmFlowList`,
			name: "按分类获取个人流程列表",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getBpmFlowListForSelect: {
			url: `${config.API_URL}/get/bpm/getBpmFlowListForSelect`,
			name: "获取流程下拉列表",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		getBpmFlowListForSearch: {
			url: `${config.API_URL}/get/bpm/getBpmFlowListForSearch`,
			name: "获取查询权限范围内的流程列表",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		getBpmFlowManageListForSelect:{
			url: `${config.API_URL}/get/bpm/getBpmFlowManageListForSelect`,
			name: "获取查询权限范围内的流程列表",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		getMyBpmFlowListForSelect: {
			url: `${config.API_URL}/get/bpm/getMyBpmFlowListForSelect`,
			name: "获取个人流程下拉列表",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		getPendingBpmFlowList: {
			url: `${config.API_URL}/get/bpm/getPendingBpmFlowList`,
			name: "获取当用户参与的流程列表",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		getDraftsBpmFlowListFilter:{
			url: `${config.API_URL}/get/bpm/getDraftsBpmFlowListFilter`,
			name: "获取当用户参与的流程列表",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		getEndBpmFlowList: {
			url: `${config.API_URL}/get/bpm/getEndBpmFlowList`,
			name: "获取当用户参与的流程列表",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		getSendToBpmFlowList:{
			url: `${config.API_URL}/get/bpm/getSendToBpmFlowList`,
			name: "获取当前用户抄送流程流程列表",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		getDoingBpmFlowList: {
			url: `${config.API_URL}/get/bpm/getDoingBpmFlowList`,
			name: "获取当用户办理中的流程列表",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},

		insert: {
			url: `${config.API_URL}/set/bpm/insertBpmFlow`,
			name: "创建流程",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		deleteBpmFlow: {
			url: `${config.API_URL}/set/bpm/deleteBpmFlow`,
			name: "删除流程",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		deleteBpmFlowByFlowId:{
			url: `${config.API_URL}/set/bpm/deleteBpmFlowByFlowId`,
			name: "强力删除流程",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		update: {
			url: `${config.API_URL}/set/bpm/updateBpmFlow`,
			name: "修改流程",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		deleteBpmFlowByIds: {
			url: `${config.API_URL}/set/bpm/deleteBpmFlowByIds`,
			name: "批量删除流程",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		getMyEndBpmFlowList: {
			url: `${config.API_URL}/get/bpm/getMyEndBpmFlowList`,
			name: "获取个人结束流程列表",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getQueryAdvBpmFlowList:{
			url: `${config.API_URL}/get/bpm/getQueryAdvBpmFlowList`,
			name: "获取个人可高级查询的流程",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		getTestBpmFlowResultList:{
			url: `${config.API_URL}/get/bpm/getTestBpmFlowResultList`,
			name: "获取流程步骤测试结果",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
	},
	plugins: {
		getBpmPluginsListForSelect:{
			url: `${config.API_URL}/get/bpm/getBpmPluginsListForSelect`,
			name: "获取BPM插件列表",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getBpmPluginsList: {
			url: `${config.API_URL}/get/bpm/getBpmPluginsList`,
			name: "获取流程插件列表",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		insert: {
			url: `${config.API_URL}/set/bpm/insertBpmPlugins`,
			name: "创建流程插件",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		delete: {
			url: `${config.API_URL}/set/bpm/deleteBpmPlugins`,
			name: "删除流程插件",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		update: {
			url: `${config.API_URL}/set/bpm/updateBpmPlugins`,
			name: "修改流程插件",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		deleteBpmPluginsByIds: {
			url: `${config.API_URL}/set/bpm/deleteBpmPluginsByIds`,
			name: "批量删除流程插件",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
	},
	bpmStepRun: {
		getBpmFlowApprovalListForApp:{
			url: `${config.API_URL}/get/bpm/getBpmFlowApprovalListForApp`,
			name: "获取App端待办列表",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		setIdeaText:{
			url: `${config.API_URL}/set/bpm/setIdeaText`,
			name: "审阅处理",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		getMyBpmDoWorkListForDesk:{
			url: `${config.API_URL}/get/bpm/getMyBpmDoWorkListForDesk`,
			name: "获取桌面的待办BPM",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		addBeforeBpmStepRun:{
			url: `${config.API_URL}/set/bpm/addBeforeBpmStepRun`,
			name: "前加签",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		addAfterBpmStepRun:{
			url: `${config.API_URL}/set/bpm/addAfterBpmStepRun`,
			name: "后加签",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		getBpmStepRunListForChart:{
			url: `${config.API_URL}/get/bpm/getBpmStepRunListForChart`,
			name: "获取图形列表数据",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getNextBpmStep:{
			url: `${config.API_URL}/get/bpm/getNextBpmStep`,
			name: "获取个人流程待办列表",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getBpmFlowApprovalList: {
			url: `${config.API_URL}/get/bpm/getBpmFlowApprovalList`,
			name: "获取个人流程待办列表",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getBpmListByPassTime:{
			url: `${config.API_URL}/get/bpm/getBpmListByPassTime`,
			name: "获取超时流程步骤列表",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getCanTaskBackBpmStepRunList:{
			url: `${config.API_URL}/get/bpm/getCanTaskBackBpmStepRunList`,
			name: "获取可以收回的步骤",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		goNextStep:{
			url: `${config.API_URL}/set/bpm/goNextStep`,
			name: "流程转交下一步",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		changeBpmStepRunUser:{
			url: `${config.API_URL}/set/bpm/changeBpmStepRunUser`,
			name: "流程转交他人",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		changeBpmStepRunUserByAdmin:{
			url: `${config.API_URL}/set/bpm/changeBpmStepRunUserByAdmin`,
			name: "管理员转交BPM流程给他人",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		doTaskBack:{
			url: `${config.API_URL}/set/bpm/doTaskBack`,
			name: "收回BPM步骤",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		setMaintainGoBackOpt:{
			url: `${config.API_URL}/set/bpm/setMaintainGoBackOpt`,
			name: "系统管理员回退",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		doBpmUrge:{
			url: `${config.API_URL}/set/bpm/doBpmUrge`,
			name: "批量催办流程",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		setGoBackOpt:{
			url: `${config.API_URL}/set/bpm/setGoBackOpt`,
			name: "个人回退操作",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		setAnyStepGoBackOpt:{
			url: `${config.API_URL}/set/bpm/setAnyStepGoBackOpt`,
			name: "回退任一步骤",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		getChangeBpmUserStep:{
			url: `${config.API_URL}/get/bpm/getChangeBpmUserStep`,
			name: "获取可以转交的步骤",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getCanGoBackStepList:{
			url: `${config.API_URL}/get/bpm/getCanGoBackStepList`,
			name: "获取可以回退的步骤列表",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		}
	},
	bpmStep: {
		getSearchUserByStep:{
			url: `${config.API_URL}/get/bpm/getSearchUserByStep`,
			name: "查询BPM经办权限人内的人员",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getBpmOpUserDeptTree:{
			url: `${config.API_URL}/get/bpm/getBpmOpUserDeptTree`,
			name: "经办权限人员部门树结构",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		initBpmStepUserByIds:{
			url: `${config.API_URL}/get/bpm/initBpmStepUserByIds`,
			name: "初始流程人员选择",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getBpmOpUseByStep:{
			url: `${config.API_URL}/get/bpm/getBpmOpUseByStep`,
			name: "获取BPM权限内部门中的人员",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getBpmFlowStepByFlowIdForSelect: {
			url: `${config.API_URL}/get/bpm/getBpmFlowStepByFlowIdForSelect`,
			name: "按流程获取步骤下拉列表",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getBpmStepListByFlowId:{
			url: `${config.API_URL}/get/bpm/getBpmStepListByFlowId`,
			name: "按流程获取步骤列表",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getBpmStepConfigByFlowId: {
			url: `${config.API_URL}/get/bpm/getBpmStepConfigByFlowId`,
			name: "获取流程步骤列表",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		connectionBpmStepLine: {
			url: `${config.API_URL}/set/bpm/connectionBpmStepLine`,
			name: "添加流程步骤接线",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		deleteBpmStepLine: {
			url: `${config.API_URL}/set/bpm/deleteBpmStepLine`,
			name: "删除流程步骤接线",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		update: {
			url: `${config.API_URL}/set/bpm/updateBpmStep`,
			name: "更新流程步骤信息",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		insert: {
			url: `${config.API_URL}/set/bpm/insertBpmStep`,
			name: "创建流程步骤",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		delete: {
			url: `${config.API_URL}/set/bpm/deleteBpmStep`,
			name: "删除流程步骤",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
	},
	bpmStepCondition:
		{
			setBpmStepCondition: {
				url: `${config.API_URL}/set/bpm/setBpmStepCondition`,
				name: "设置步骤条件",
				post: async function (data) {
					return await http.post(this.url, data, {
						headers: {}
					});
				}
			},
		},
	bpmEngine: {
		getBpmEngineList: {
			url: `${config.API_URL}/get/bpm/getBpmEngineList`,
			name: "获取流程引擎",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		update: {
			url: `${config.API_URL}/set/bpm/updateBpmEngine`,
			name: "修改流程引擎",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		insert: {
			url: `${config.API_URL}/set/bpm/insertBpmEngine`,
			name: "创建流程引擎",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		delete: {
			url: `${config.API_URL}/set/bpm/deleteBpmEngine`,
			name: "删除流程引擎",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		deleteBpmEngineByIds: {
			url: `${config.API_URL}/set/bpm/deleteBpmEngineByIds`,
			name: "批量删除流程引擎",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		}
	},
	bpmSort: {
		getBpmSortByRole: {
			url: `${config.API_URL}/get/bpm/getBpmSortByRole`,
			name: "获取个人权限内的流程分类列表",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getBpmSortTree: {
			url: `${config.API_URL}/get/bpm/getBpmSortTree`,
			name: "获取流程分类树",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		update: {
			url: `${config.API_URL}/set/bpm/updateBpmSort`,
			name: "修改流程分类",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		insert: {
			url: `${config.API_URL}/set/bpm/insertBpmSort`,
			name: "创建流程分类",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		delete: {
			url: `${config.API_URL}/set/bpm/deleteBpmSort`,
			name: "删除流程分类",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
	},
	bpmForm: {
		getBpmFormTemplateFormId:{
			url: `${config.API_URL}/get/bpm/getBpmFormTemplateFormId`,
			name: "获取表单模版",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		setBpmFormTemplate:{
			url: `${config.API_URL}/set/bpm/setBpmFormTemplate`,
			name: "设置表单模版",
			post: async function (data) {
				return await http.bigPost(this.url, data,
					{headers: {'Content-Type': 'multipart/form-data'}}
				);
			}
		},
		getCreateBpmFormDataBean: {
			url: `${config.API_URL}/get/bpm/getCreateBpmFormDataBean`,
			name: "获取工作流表单-发起",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getHandleBpmFormDataBean:{
			url: `${config.API_URL}/get/bpm/getHandleBpmFormDataBean`,
			name: "获取工作流表单-办理",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getBpmFormDetailsByRunId:{
			url: `${config.API_URL}/get/bpm/getBpmFormDetailsByRunId`,
			name: "获取流程表单详情",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getBpmFormDetailsByRunIdForPrint:{
			url: `${config.API_URL}/get/bpm/getBpmFormDetailsByRunIdForPrint`,
			name: "获取流程表单详情--打印",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getBpmFormDetailsForHtml:{
			url: `${config.API_URL}/get/bpm/getBpmFormDetailsForHtml`,
			name: "获取流程表单详情的HTML字符串",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getBpmFormFieldsListForSelect: {
			url: `${config.API_URL}/get/bpm/getBpmFormFieldsListForSelect`,
			name: "获取工作流表单字段列表",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getBpmFormListForManage: {
			url: `${config.API_URL}/get/bpm/getBpmFormListForManage`,
			name: "获取工作流表单列表",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getBpmFormListForSelect: {
			url: `${config.API_URL}/get/bpm/getBpmFormListForSelect`,
			name: "获取工作流表单下拉列表",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		getBpmFormJsonByFormId: {
			url: `${config.API_URL}/get/bpm/getBpmFormJsonByFormId`,
			name: "获取表单数据",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		deleteBpmFormByIds: {
			url: `${config.API_URL}/set/bpm/deleteBpmFormByIds`,
			name: "批量删除工作流表单",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		getBpmFormTemplateToFile:{
			url: `${config.API_URL}/get/bpm/getBpmFormTemplateToFile`,
			name: "导出FORM表单文件",
			fileDownload: async function (data) {
				return await http.fileDownload(this.url, data,{
					headers: {}
				})
			}
		},
		insert: {
			url: `${config.API_URL}/set/bpm/insertBpmForm`,
			name: "创建工作流表单",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		update: {
			url: `${config.API_URL}/set/bpm/updateBpmForm`,
			name: "更新工作流表单",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		updateFormJsonBpmForm: {
			url: `${config.API_URL}/set/bpm/updateFormJsonBpmForm`,
			name: "更新工作流表单并生成表结构",
			post: async function (data) {
				return await http.bigPost(this.url, data,
					{headers: {'Content-Type': 'multipart/form-data'}}
				);
			}
		},
		delete: {
			url: `${config.API_URL}/set/bpm/deleteBpmForm`,
			name: "删除工作流表单",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		getFormDataFieldTitle:{
			url: `${config.API_URL}/get/bpm/getFormDataFieldTitle`,
			name: "获取BPM数据表表头",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getBpmFormTableFields:{
			url: `${config.API_URL}/get/bpm/getBpmFormTableFields`,
			name: "获取BPM表的字段信息",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getAllBpmFormDataForRecord:{
			url: `${config.API_URL}/get/bpm/getAllBpmFormDataForRecord`,
			name: "获取BPM数据表表头",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		updateBpmFormData:{
			url: `${config.API_URL}/set/bpm/updateBpmFormData`,
			name: "删除工作流表单",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		}
	},
	bpmInterface: {
		getBpmInterfaceList: {
			url: `${config.API_URL}/get/bpm/getBpmInterfaceList`,
			name: "获取流程接口列表",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		update: {
			url: `${config.API_URL}/set/bpm/updateBpmInterface`,
			name: "修改流程接口",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		insert: {
			url: `${config.API_URL}/set/bpm/insertBpmInterface`,
			name: "创建流程接口",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		deleteBpmInterfaceByIds: {
			url: `${config.API_URL}/set/bpm/deleteBpmInterfaceByIds`,
			name: "批量删除流程接口",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		delete: {
			url: `${config.API_URL}/set/bpm/deleteBpmInterface`,
			name: "删除流程接口",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
	},
	bpmTemplate: {
		getBpmTemplateList: {
			url: `${config.API_URL}/get/bpm/getBpmTemplateList`,
			name: "获取流程文件模版列表",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		update: {
			url: `${config.API_URL}/set/bpm/updateBpmTemplate`,
			name: "修改流程文件模版",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		insert: {
			url: `${config.API_URL}/set/bpm/insertBpmTemplate`,
			name: "创建流程文件模版",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		deleteBpmTemplateByIds: {
			url: `${config.API_URL}/set/bpm/deleteBpmTemplateByIds`,
			name: "批量删除流程文件模版",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		delete: {
			url: `${config.API_URL}/set/bpm/deleteBpmTemplate`,
			name: "删除流程文件模版",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
	},
	bpmSealSign: {
		getMySealSignList:{
			url: `${config.API_URL}/get/bpm/getMySealSignList`,
			name: "按用户名密码获取个人的电子印章",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getAllBpmSealSignList: {
			url: `${config.API_URL}/get/bpm/getAllBpmSealSignList`,
			name: "获取电子签名列表",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		insert: {
			url: `${config.API_URL}/set/bpm/insertBpmSealSign`,
			name: "创建流程文件模版",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		deleteBpmSealSignByIds: {
			url: `${config.API_URL}/set/bpm/deleteBpmSealSignByIds`,
			name: "批量删除电子文件模版",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		delete: {
			url: `${config.API_URL}/set/bpm/deleteBpmSealSign`,
			name: "删除电子签名",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		update: {
			url: `${config.API_URL}/set/bpm/updateBpmSealSign`,
			name: "更新电子签名",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
	},
	bpmRunLog: {
		clearAllBpmRunLog:{
			url: `${config.API_URL}/set/bpm/clearAllBpmRunLog`,
			name: "管理员删除所有流程日志",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		getBpmRunLogList: {
			url: `${config.API_URL}/get/bpm/getBpmRunLogList`,
			name: "获取流程日志",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
	},
	echarts: {
		getBiBpmFlowByMonthLine: {
			url: `${config.API_URL}/get/bpm/echarts/getBiBpmFlowByMonthLine`,
			name: "按月份统计工作量",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		getBiBpmFlowByDeptPie: {
			url: `${config.API_URL}/get/bpm/echarts/getBiBpmFlowByDeptPie`,
			name: "按部门工作量分析",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		getBiBpmFlowPie: {
			url: `${config.API_URL}/get/bpm/echarts/getBiBpmFlowPie`,
			name: "按BPM分类分析",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		getBiBpmFlowByAccountPie: {
			url: `${config.API_URL}/get/bpm/echarts/getBiBpmFlowByAccountPie`,
			name: "按员工工作量分析",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		getUserWorkForBar: {
			url: `${config.API_URL}/get/bpm/echarts/getUserWorkForBar`,
			name: "工作流审批滞留",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		}
	},
	bpmSealed:{
		doSealedBpmByFlowId:{
			url: `${config.API_URL}/set/bpm/doSealedBpmByFlowId`,
			name: "批量按年份归档流程",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		doSealedBpm:{
			url: `${config.API_URL}/set/bpm/doSealedBpm`,
			name: "单条流程归档",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		getBpmListYear:{
			url: `${config.API_URL}/get/bpm/getBpmListYear`,
			name: "获取可以归档流程的年份",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		}
	},
	bpmSendTo:{
		getSendToMeBpmListForMobile:{
			url: `${config.API_URL}/get/bpm/getSendToMeBpmListForMobile`,
			name: "移动端抄送列表",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		getMySendToListForDesk:{
			url: `${config.API_URL}/get/bpm/getMySendToListForDesk`,
			name: "获取流程抄送待办列表",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		getSendToMeBpmList:{
			url: `${config.API_URL}/get/bpm/getSendToMeBpmList`,
			name: "获取流程抄送列表",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		updateSendToStatus:{
			url: `${config.API_URL}/set/bpm/updateSendToStatus`,
			name: "更新抄送状态记录",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		sendBpmToUser:{
			url: `${config.API_URL}/set/bpm/sendBpmToUser`,
			name: "手动抄送流程",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		}
	},
	bpmCollect:{
		getBpmCollectBoxForTree:{
			url: `${config.API_URL}/get/bpm/getBpmCollectBoxForTree`,
			name: "获取收藏分类树",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		getBpmCollectList:{
			url: `${config.API_URL}/get/bpm/getBpmCollectList`,
			name: "获取收藏的流程列表",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
		insertBpmCollectBox:{
			url: `${config.API_URL}/set/bpm/insertBpmCollectBox`,
			name: "创建流程收藏分类",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		deleteBpmCollectBox:{
			url: `${config.API_URL}/set/bpm/deleteBpmCollectBox`,
			name: "删除流程收藏分类",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		updateBpmCollectBox:{
			url: `${config.API_URL}/set/bpm/updateBpmCollectBox`,
			name: "更新流程收藏分类",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		createBpmCollect:{
			url: `${config.API_URL}/set/bpm/createBpmCollect`,
			name: "创建流程收藏记录",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		deleteBpmCollect:{
			url: `${config.API_URL}/set/bpm/deleteBpmCollect`,
			name: "删除流程收藏记录",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		deleteBpmCollects:{
			url: `${config.API_URL}/set/bpm/deleteBpmCollects`,
			name: "批量删除流程收藏记录",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		updateBpmCollect:{
			url: `${config.API_URL}/set/bpm/updateBpmCollect`,
			name: "更新流程收藏记录",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		}
	},
	formDataLog:{
		getAllFormDataLog:{
			url: `${config.API_URL}/get/bpm/getAllFormDataLog`,
			name: "获取表单数据日志",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
	},
	bpmTransferRule:{
		getBpmTransferRuleList:{
			url: `${config.API_URL}/get/bpm/getBpmTransferRuleList`,
			name: "获取所有可用于接收的流程列表",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
	},
	bpmFromOrg:{
		setBpmFromOrg:{
			url: `${config.API_URL}/set/bpm/setBpmFromOrg`,
			name: "设置收发文单位",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		getBpmFromOrgListForSelect:{
			url: `${config.API_URL}/get/bpm/getBpmFromOrgListForSelect`,
			name: "获取发文单位列表",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		}
	},
	bpmFormTemplate:{
		getAllBpmFormTemplate:{
			url: `${config.API_URL}/get/bpm/getAllBpmFormTemplate`,
			name: "获取所有表单模版列表",
			get: async function () {
				return await http.get(this.url);
			}
		}
	},
	bpmQuick:{
		setBpmQuick:{
			url: `${config.API_URL}/set/bpm/setBpmQuick`,
			name: "设置常用流程",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {}
				});
			}
		},
		getFlowInRoleForBpmQuick:{
			url: `${config.API_URL}/get/bpm/getFlowInRoleForBpmQuick`,
			name: "获取备选常用流程",
			get: async function () {
				return await http.get(this.url);
			}
		},
		getMyBpmQuickFlow:{
			url: `${config.API_URL}/get/bpm/getMyBpmQuickFlow`,
			name: "获取个人常用流程",
			get: async function () {
				return await http.get(this.url);
			}
		}
	},
	bpmStepRunReply:{
		insertBpmStepRunReply:{
			url: `${config.API_URL}/set/bpm/insertBpmStepRunReply`,
			name: "创建会签意见回复记录",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
		deleteBpmStepRunReply:{
			url: `${config.API_URL}/set/bpm/deleteBpmStepRunReply`,
			name: "删除会签意见记录",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
		getAllBpmStepRunReplyList:{
			url: `${config.API_URL}/get/bpm/getAllBpmStepRunReplyList`,
			name: "获取流程会签回复意见",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		}
	},
	bpmLink:{
		setBpmLink:{
			url: `${config.API_URL}/set/bpm/setBpmLink`,
			name: "设置流程关联信息",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
		getBpmLink:{
			url: `${config.API_URL}/get/bpm/getBpmLink`,
			name: "获取流程关联信息",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		}
	},
	bpmReadFieldRole:{
		setBpmReadFieldRole:{
			url: `${config.API_URL}/set/bpm/setBpmReadFieldRole`,
			name: "设置流程详情隐藏字段权限",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
		deleteBpmReadFieldRole:{
			url: `${config.API_URL}/set/bpm/deleteBpmReadFieldRole`,
			name: "删除流程详情隐藏字段权限",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
		deleteBpmReadFieldRoleByIds:{
			url: `${config.API_URL}/set/bpm/deleteBpmReadFieldRoleByIds`,
			name: "批量删除流程详情隐藏字段权限",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
		getAllBpmReadFieldRoleList:{
			url: `${config.API_URL}/get/bpm/getAllBpmReadFieldRoleList`,
			name: "获取流程会签回复意见",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		}
	},
	bpmDataCapture:{
		insertBpmDataCapture:{
			url: `${config.API_URL}/set/bpm/insertBpmDataCapture`,
			name: "创建流程数据采集规则",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
		deleteBpmDataCapture:{
			url: `${config.API_URL}/set/bpm/deleteBpmDataCapture`,
			name: "删除流程数据采集规则",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
		deleteBpmDataCaptureByIds:{
			url: `${config.API_URL}/set/bpm/deleteBpmDataCaptureByIds`,
			name: "批量删除数据采集规则",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
		updateBpmDataCapture:{
			url: `${config.API_URL}/set/bpm/updateBpmDataCapture`,
			name: "更新流程数据采集规则",
			post: async function (data) {
				return await http.post(this.url, data, {headers: {}});
			}
		},
		getAllBpmDataCaptureList:{
			url: `${config.API_URL}/get/bpm/getAllBpmDataCaptureList`,
			name: "获取数据采集规则列表",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		}
	}

}
